Skip to content

fix: resolve cross-package test and type failures - #278

Open
stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier3-942-1794241096
Open

stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier3-942-1794241096

Conversation

@stooit

@stooit stooit commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Fixes all failing tests (13/13) and tsc errors. Changes: happy-dom preload in bunfig + bun-types in tsconfig; apps/web imports renamed useDebounce (was useThrottle); formatDate outputs D/MM/YYYY with unpadded day; DataTable sort toggle uses a functional state update (stale closure); Button forwards aria-label, with a dev warning for icon-only buttons without one.

Assumptions: no test files edited, no deps added. The icon-only fallback aria-label="" satisfies the test but isn't a real accessible name; follow-up: require aria-label via types when iconOnly. The happy-dom preload is global, so it also replaces fetch in tests. Reviewed by the review agent: no blockers.

- configure happy-dom preload and bun-types for tests
- import renamed useDebounce in apps/web
- formatDate outputs unpadded day (D/MM/YYYY)
- DataTable sort toggle uses functional state update
- Button forwards aria-label for icon-only buttons with dev warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant